<!DOCTYPE html>
{% load i18n %}
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="shortcut icon" type="image/png" href="/static/favicon.ico"/>
    <link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
    {% include 'show/link.html'%}
    <title>{% trans 'gm操作信息表' %}</title>
    <style>
        .panel {
            border-radius: 0px;
            border:1px solid #f1f1f1
        }
        .panel-heading {
            border-radius: 0px;
        }
    </style>

    <script>
        $(document).ready(function() {
            init()
            $("#add_card_button").click(function()
            {
                add_card()
            });
        })

    </script>
</head>

<body>
{% include 'show/top_bar.html' %}
<div class="main_body">
    <div class="container">
        <br>
        <ol class="breadcrumb">
            <li><a href="{%url 'index'%}">{% trans '首页' %}</a></li>
            <li><a href="/cs/">{% trans '管理页面' %}</a></li>
        </ol>
        <div class="alert alert-warning alert-dismissible" role="alert">
            {% trans '管理员操作记录' %}
        </div>
        <div class="panel panel-bm ">
            <div class="panel-heading">
                {% trans '记录明细' %}
            </div>
            <div class="panel-body row">
    <table id="tbl_markets_left" class="table-hover table-striped " cellspacing="0" width="100%">
        <thead>
        <tr>
            <th class="gray-a">{% trans '管理员ID' %}</th>
            <th class="gray-a">{% trans '用户ID' %}</th>
            <th class="gray-a">{% trans '用户Email' %}</th>
            <th class="gray-a">{% trans '币种' %}</th>
            <th class="gray-a">{% trans '额度' %}</th>
            <th class="gray-a">{% trans 'txid' %}</th>
            <th class="gray-a">{% trans 'vout' %}</th>
            <th class="gray-a">{% trans '时间' %}</th>
            <th class="gray-a">{% trans '充值/提现' %}</th>
        </tr>
        </thead>
        <tbody>
            {% for row in data %}
        <tr>
            <td>{{row.gm_id}}</td>
            <td>{{row.userid}}</td>
            <td>{{row.user_email}}</td>
            <td>{{row.coin_type}}</td>
            <td>{{row.amount}}</td>
            <td>{{row.txid}}</td>
            <td>{{row.vout}}</td>
            <td>{{row.create_time}}</td>
                {% if row.op_type == 1 %}
                    <td>{% trans '充值' %}</td>
                {% elif row.op_type == 2 %}
                    <td>{% trans '提现' %}</td>
                {% else %}
                    <td>{{row.op_type}}</td>
                {% endif %}
            <td></td>
        </tr>
            {% endfor %}
        </tbody>
    </table>
            </div>
        </div>
    </div>
</div>
</div>
{% include 'show/footer.html' %}
</body>
</html>
